from rest_framework.routers import DefaultRouter
from .views import RoomViewSet,CityViewSet,HostViewSet
app_name = 'host'

router = DefaultRouter(use_regex_path=True)
router.register(r'room', RoomViewSet, basename='room')
router.register(r'city', CityViewSet, basename='city')
router.register(r'host', HostViewSet, basename='host')
urlpatterns = router.urls
